package com.pmcc.core.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * Created by syk on 17/7/6.
 */
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class Menu {
    private String id;
    private String bpid;
    private String mpid;
    private String icon;
    private String name;
    private String route;
    private String code;
    private String parentName;
    private String path;
    private String indexPath;
    private String key;

    public Menu(String id, String bpid, String mpid, String icon, String name, String route,String code,String parentName,String path,String indexPath,String key) {
        this.id = id;
        this.bpid = bpid;
        this.mpid = mpid;
        this.icon = icon;
        this.name = name;
        this.route = route;
        this.code = code;
        this.parentName=parentName;
        this.path=path;
        this.indexPath=indexPath;
        this.key=key;
    }

    public Menu() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBpid() {
        return bpid;
    }

    public void setBpid(String bpid) {
        this.bpid = bpid;
    }

    public String getMpid() {
        return mpid;
    }

    public void setMpid(String mpid) {
        this.mpid = mpid;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getIndexPath() {
        return indexPath;
    }

    public void setIndexPath(String indexPath) {
        this.indexPath = indexPath;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
